package factory.factorymethod.pizzastore.order;

/**
 * @Author liangliangzhao
 * @data 2023/2/28 14:05
 */

public class PizzaStore {
    public static void main(String[] args) {
        String loc = "bj";
        if(loc.equals("bj")){
            // 创建北京口味的披萨
            new BJOrderPizza();
        }else {
            // 创建伦敦口味的披萨
            new LDOrderPizza();
        }
    }
}
